package cn.edu.sjtu.se.peakfactory.service.bean;

import cn.edu.sjtu.se.lchang.socialnetwork.dao.bean.User;
import cn.edu.sjtu.se.peakfactory.dao.bean.Element;
import cn.edu.sjtu.se.peakfactory.dao.bean.UserElement;

public class UserElementVB {
	private Long id;
	private User user;
	private Element element;
	private Integer eleCount;
	
	public UserElementVB(UserElement userElement){
		id= userElement.getId();
		user = userElement.getUser();
		element = userElement.getElement();
		eleCount = userElement.getEleCount();
	}
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Element getElement() {
		return element;
	}
	public void setElement(Element element) {
		this.element = element;
	}

	public Integer getEleCount() {
		return eleCount;
	}

	public void setEleCount(Integer eleCount) {
		this.eleCount = eleCount;
	}
	 
	
	
}
